
<% form_for(:user,@user, :url => {:action => "login"}, :html => { :multipart => false }) do |form| -%> 
  <p>
    User Name:<br />
    <%= text_field("user","login_name")%>
  </p>
  <p>
    User Password: <br />
    <%= password_field("user","hashed_pass")%>
  </p>
  <p>
    <input type="submit" value = "Login..!" />
  </p>
 <% end %>